package main

import (
	"TCP-sever/net"
	"TCP-sever/router"
)

/*
	服务端
*/

func main() {
	s := ZJX_net.NewServer()
	s.AddRouter(uint32(1), &ZJX_router.MyRouter1{})
	s.AddRouter(uint32(2), &ZJX_router.MyRouter2{})
	s.Server()
}
